From: Matthias Clasen Date: Wed, 3 May 2023 23:54:41 +0000 (-0400) Subject: headless tests: Add debug spew X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~59^2^2~312^2~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=926b26e9fcd49e993ad0fbf509cc0bd13d3bdb90;p=gtk4.git headless tests: Add debug spew Trying to track down what is going on with our missing monitors. --- diff --git a/testsuite/headless/headless-monitor-tests.py b/testsuite/headless/headless-monitor-tests.py index 48aebd8a7c..c556a7bb92 100644 --- a/testsuite/headless/headless-monitor-tests.py +++ b/testsuite/headless/headless-monitor-tests.py @@ -36,10 +36,10 @@ def stream_added_closure(name): # Use gstreamer out-of-process, since the gst gl support gets # itself into a twist with its wayland connection when monitors # disappear - pipeline_desc = f'gst-launch-1.0 pipewiresrc path={node_id} ! video/x-raw,max-framerate={freq}/1,width={width},height={height} ! videoconvert ! glimagesink' + pipeline_desc = f'gst-launch-1.0 --verbose pipewiresrc path={node_id} ! video/x-raw,max-framerate={freq}/1,width={width},height={height} ! videoconvert ! glimagesink' if verbose: print(f'launching {pipeline_desc}') - monitor['pipeline'] = subprocess.Popen([pipeline_desc], shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + monitor['pipeline'] = subprocess.Popen([pipeline_desc], shell=True) return stream_added diff --git a/testsuite/headless/run-headless-monitor-tests.sh b/testsuite/headless/run-headless-monitor-tests.sh index 7c62766ff5..d2944e80a2 100755 --- a/testsuite/headless/run-headless-monitor-tests.sh +++ b/testsuite/headless/run-headless-monitor-tests.sh @@ -2,6 +2,9 @@ srcdir=${MESON_CURRENT_SOURCE_DIR:-./testsuite/headless} +export GTK_A11Y=none +export GIO_USE_VFS=local + dbus-run-session sh <&mutter.log & mutter_pid=\$!